﻿using AutoMapper;
using SmartCity.Passport.API.DTOS;
using SmartCity.Passport.Domain.Entities;

namespace SmartCity.Passport.API
{
    /// <summary>
    /// 映射轮廓
    /// </summary>
    public class MapperProfile:Profile
    {
        /// <summary>
        /// 构造方法
        /// </summary>
        public MapperProfile()
        {
            CreateMap<User, UserDTO>();
        }
    }
}
